package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.Date;

public class CustomerDTO {
    private Long customerId;
    private Long userId;
    private String carPlateNumber;
    private String carModel;
    private String carVin;
    private String carColor;
    private String carBrand;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT")
    private Date registrationTime;

    public CustomerDTO() {
    }

    public CustomerDTO(Long customerId, Long userId, String carPlateNumber, String carModel, String carVin, String carColor, String carBrand, Date registrationTime) {
        this.customerId = customerId;
        this.userId = userId;
        this.carPlateNumber = carPlateNumber;
        this.carModel = carModel;
        this.carVin = carVin;
        this.carColor = carColor;
        this.carBrand = carBrand;
        this.registrationTime = registrationTime;
    }

    /**
     * 获取
     * @return customerId
     */
    public Long getCustomerId() {
        return customerId;
    }

    /**
     * 设置
     * @param customerId
     */
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return carPlateNumber
     */
    public String getCarPlateNumber() {
        return carPlateNumber;
    }

    /**
     * 设置
     * @param carPlateNumber
     */
    public void setCarPlateNumber(String carPlateNumber) {
        this.carPlateNumber = carPlateNumber;
    }

    /**
     * 获取
     * @return carModel
     */
    public String getCarModel() {
        return carModel;
    }

    /**
     * 设置
     * @param carModel
     */
    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    /**
     * 获取
     * @return carVin
     */
    public String getCarVin() {
        return carVin;
    }

    /**
     * 设置
     * @param carVin
     */
    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    /**
     * 获取
     * @return carColor
     */
    public String getCarColor() {
        return carColor;
    }

    /**
     * 设置
     * @param carColor
     */
    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    /**
     * 获取
     * @return carBrand
     */
    public String getCarBrand() {
        return carBrand;
    }

    /**
     * 设置
     * @param carBrand
     */
    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    /**
     * 获取
     * @return registrationTime
     */
    public Date getRegistrationTime() {
        return registrationTime;
    }

    /**
     * 设置
     * @param registrationTime
     */
    public void setRegistrationTime(Date registrationTime) {
        this.registrationTime = registrationTime;
    }

    public String toString() {
        return "CustomerDTO{customerId = " + customerId + ", userId = " + userId + ", carPlateNumber = " + carPlateNumber + ", carModel = " + carModel + ", carVin = " + carVin + ", carColor = " + carColor + ", carBrand = " + carBrand + ", registrationTime = " + registrationTime + "}";
    }
}
